Add a multithreaded test