Tests for thready