 		public function dependenciesEmpty():void
 		{
 			var dep:Dependencies = new Dependencies();
-			Async.proceedOnEvent( this, dep, Event.COMPLETE );
-			Async.failOnEvent( this, dep, IOErrorEvent.IO_ERROR );
-			Async.failOnEvent( this, dep, ErrorEvent.ERROR );
+            dep.addEventListener(Event.COMPLETE, asyncHandler, false, 0, true);
+            Async.failOnEvent(this, dep, ErrorEvent.ERROR);
 			dep.load();
-		}
-		
-		public function onDepsLoadComplete(e:Event):void
-		{
-			Assert.assertEquals(1,1);
 		}
 
 	}

	
	public class DependenciesTest
	{

		[Test(async)]
		public function dependenciesFromConfig():void

			cfg.interpolationValues = {basePath: "."};
			
			var dep:Dependencies = new Dependencies(cfg);;
            dep.addEventListener(Event.COMPLETE, asyncHandler, false, 0, true);
            Async.failOnEvent(this, dep, ErrorEvent.ERROR);
			dep.addItem("./dummy.swf");
			dep.addItem("./dummy.swf", {id: "dummy2"});
			dep.load();
