changed from setupThreads to Threads
changed tests to look for full range of response codes
made Update section more robust