tests for metadata fields