Added reset function for TestObject.
But this code doesn't work as I expected because loop() doesn't
return execution for event loop of the thread.
So the object cannot handle signal connected to the object.
I need to solve this problem asap.
Added info about yieldCurrentThread
Fixed to use Qt::DirectConnection
Now the code works as I expect.