test genkey