Added tests for loading ui and checking main intent is fired