fixes for filter tests