Fix test_keystore.py unit test failure

Ensure the keystore is empty prior to running the test cases.  The courtesy bug is spreading.