fix some more metadat tests but hung up on an unknown bug