Addition of multithreading test. <Ben>