improved filter test a bit