server metadata operations and tests