Added new thread_test.rb script