second and thread tests.