added test to new and lambda filter