Fixed tests broken by refactoring
Added Thread view UI test class