returns proper response so unit test and function test can work