Adding testcase testing the possible depth to instantiate a thread that instantiates a thread