Add tests for collection matcher