Fixed mongo test to use the collection.