Threaded test, still needs some work for failing case.