Functional tests for matching collection resources