added variable keyName to config.py and changed test.py a bit