Tests for Metadata