Added test key pair and keyring. Created files for tests. Added more key functions.