Better GenerateKeyPairTest

Renamed method
Validating if it's not null and key size is 32