Added and fixed tests for mailers and models.
Added ajax success for survey modal.