added test for tidier response handler