fix sha1 and test command