added tests to metadata