Fixed test case for handler