Added test to check if callback executes after set duration.