Initial unit test for _filter