add filter resource and test spec