added test for filterWith