Add rspec tests for existing Keystore class