Fix a test and the equals method of Cryptogram