Added tests for MainActivity