refactored filters test