corrected unit test for create server keypair check