Added checks and tests for .delay() and .after()