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

Signed-off-by: hajee <hajee@moretIA.com>