Adding keygen test.