add wait() for a thread into rand test case.
add wait() for a thread into rand test case.

skipbit/treefrog-framework,ThomasGueldner/treefrog-framework,gonboy/treefrog-framework,froglogic/treefrog-framework,treefrogframework/treefrog-framework,hks2002/treefrog-framework,AmiArt/treefrog-framework,skipbit/treefrog-framework,Akhilesh05/treefrog-framework,Akhilesh05/treefrog-framework,froglogic/treefrog-framework,gonboy/treefrog-framework,hks2002/treefrog-framework,treefrogframework/treefrog-framework,skipbit/treefrog-framework,treefrogframework/treefrog-framework,AmiArt/treefrog-framework,gonboy/treefrog-framework,Akhilesh05/treefrog-framework,hks2002/treefrog-framework,skipbit/treefrog-framework,treefrogframework/treefrog-framework,seem-sky/treefrog-framework,hks2002/treefrog-framework,gonboy/treefrog-framework,hks2002/treefrog-framework,skipbit/treefrog-framework,treefrogframework/treefrog-framework,froglogic/treefrog-framework,AmiArt/treefrog-framework,ThomasGueldner/treefrog-framework,AmiArt/treefrog-framework,AmiArt/treefrog-framework,froglogic/treefrog-framework,Akhilesh05/treefrog-framework,gonboy/treefrog-framework,seem-sky/treefrog-framework,ThomasGueldner/treefrog-framework,froglogic/treefrog-framework,ThomasGueldner/treefrog-framework,ThomasGueldner/treefrog-framework,seem-sky/treefrog-framework