Better GenerateKeyPairTest

Renamed method
Validating if it's not null and key size is 32
renaming methods to match what's being tested
Merge pull request #43 from fraga/refactorTests

Refactor tests