Added tests for main activity