Tests with a threaded application. Makes sure that the list of threads is shown that that switching threads works.