[Tests] Added unittest to scheduleDelayedTask