tests for filter function get/set