WaitAction with test cases, can stop
refactoring