fix activity handler tests
fix thread ui integration test
fix thread ui test
fix thread ui test