Testing for legal threads.