Update MainController functional test
Update to use new Ruby 1.9 hash syntax
Merge pull request #1909 from ifung/main_controller_test

Update MainController functional test