Code coverage for main activity