HMNZS Otago fails safety test