Fixed test case filtering