Delete generate test files, add tests for mailer and index page, add projects resource, add error flash messages