tests: allow sha1's as part of the path