Test helpers.
Remove tests on views and controllers (to replace with capybara tests).