test for metadata