Fixed outdated example, Unit testing controllers, testing duplicate form submission