add boundary filter tests
revert be6ae3c561901a4e6ff39ce136a10bd3cef9375f