Writing tests for ResponseService.