add a test for filter option