fix test cases in Command, since changes of return type to Response