tests for filter
should not need to resolve the file before filtering it