add test for service
add example for filter