more tests for resource filtering