added thread dispatcher then test