Thread testing for setText