Testing for main activity ui and post thread