Fixes in test cases MainActivityTest class