added 'sanitize_passphrase' for DRY, added a passphrase with spaces to tests and added nja files to gitignore