Initialization of KeyStorage and read from config.json

config.json defines keystorage type.
test scripts updates