Fix sha1 path tests

Fixes failing tests introduced in #29