enable filtering and unit test it