Improve testing of credentials app.

This just adds a bit more testing to the credentials keypair importer.