Toyota apologizes for cheating on certification test