Refactored create folder and get metadata test into 2 tests