Fixed test case for CakeResponse