Updated test script to test basic keystore functionality