Add tests for passphrase
Merge pull request #1185 from isocolsky/test/passphrase

Add tests for passphrase