internal error test