Fixed unit tests for metadata json schema