What if the key 'USER' isn't set?  This will raise a KeyError, and the test will fail.  I think what you want is `world.scenario_dict.get('USER'), which will return None of the key does not exist.