Small fix in TestGetMetadata.New stuff: SetMetadata and TestSetMetadata