split test case, add specfied test class for testing obj.wait()