fixed test resposne not in unitTest mode