Defined internal_error method to use assert_same outside Acunote