create a controller for the main activity, add a test for that