Add failing thread tests. Refs #167.