updating tests
adding test wait statement