Fixed the threads, now testThread0 passes!