use real NewFilter func in tests