Added unit test for bad thread id.