Added tests to run delayed tasks of type