Remove trailing crap from the tests (the hashtype) now that this is correctly caught.
error paths to come.