removed duplicated tests from metadata_test