tweaks to the threads test