fix some tests, add some boundary filter tests