Any reason these generate and verify tests for AES and 3DES are separate? Why not just assert they are equal and then also assert the verify performs as expected?