added testcase that checks if MainUI is handling focus properly