Added test case for global metadata