Updated test for collection and config