removed old unused test-thread-function