removed reference to config.TEMP_DIR in test.py