fix mgmt tests