test for metadata added