Handle filters properly in test.