Testing simple threads.