fixed the test suit, change the output response to json