Update sha1test to use the test infrastructure