mocha for mocks/stubs; added function to decrypt keychain item