metadata tests