Add tests for SHA1 and EC point compression