[FEATURE] Adding unit tests for metadata