Wrote unit tests for ssh keys in metadata