Add a threaded version of the test