added metadata tests