Small fixed for one assertion and to the metadata tests.