Merge "Add a test case for metadata POST"