refactor tests
call all matching filters instead of calling the first matching filter