Added tests for task scheduling, switched to Duration deltaTime.