Metadata tests