UI Thread test infrastructure and first unit test for UI
Fix on thread tests and a UI bare bone implementation