 			}
 
 			it("should deallocate after erroring") {
-				let scheduler = TestScheduler()
 				var dealloced = false
 				
 				let signal: Signal<Int, NSError> = Signal { observer in
-					scheduler.schedule {
+					testScheduler.schedule {
 						sendError(observer, testError)
 					}
 					return ActionDisposable {

				expect(errored).to(beFalse())
				expect(dealloced).to(beFalse())
				
				scheduler.run()
				
				expect(errored).to(beTrue())
				expect(dealloced).to(beTrue())
			}

			it("should deallocate after completing") {
				let scheduler = TestScheduler()
				var dealloced = false
				
				let signal: Signal<Int, NSError> = Signal { observer in
					scheduler.schedule {
						sendCompleted(observer)
					}
					return ActionDisposable {

				expect(completed).to(beFalse())
				expect(dealloced).to(beFalse())
				
				testScheduler.run()
				
				expect(completed).to(beTrue())
				expect(dealloced).to(beTrue())
