Implement getResponseType() and corresponding test cases.