Small fix in main_controller_test
Capybara added. First capybara integration test.