Fixed not-in-place method
Added some filte tests