The following example will override the default AJAX success message and load a success message from a div instead.
In order to view this page live, you'll need to make some adjustments to this template or your test form:
freeformAjaxDivSuccess or adjust the form handle name inside this template to match your test form.