Added a test for test helper 'wait' to check for pending timers

Signed-off-by: hajee <hajee@moretIA.com>
Merge pull request #3582 from hajee/master

Added a test for test helper 'wait' to check for pending timers