Add two new testing routines:

* repeatedly creating a thread with the same name
* repeatedly creating a thread with a random name