adding a test case for create_collection