Basic tests for results of key pair generation