Improved and added tests for Ezid::Metadata