         var testDuration = player.duration
         var audioTime: AVAudioTime?
 
-        output = player
-        player.fade.inTime = 1.0
-        player.fade.outTime = 1.0
-        player.gain = 0.2
-        player.endTime = 5
-        duration = 5
-
-        //auditionTest()
-        AKTestMD5("90ef5318b34510ef7c81f957046c06d6")
-    }
-
-    func testFadeOut() {
-
-        let bundle = Bundle(for: AKPlayerTests.self)
-
-        guard let audioFileURL = bundle.url(forResource: "PinkNoise", withExtension: "wav") else {
-            XCTFail("Couldn't find audio file.")
-            return
+        if when > 0 {
+            audioTime = AVAudioTime.now().offset(seconds: when)
+            testDuration += when
+        }
 
         /// Rate (rate) ranges from 0.03125 to 32.0 (Default: 1.0 and disabled)
         player.rate = rate

                   fade: fade)
    }

        //auditionTest()
        AKTestMD5("72ff03c8f6b529625877f89f4c7325bf")
    }

    func testScheduledOffsetFadeInOut() {


        AKLog("from", startingTime, "to", endingTime, "duration:", duration)

        auditioning ? auditionTest() : AKTestMD5(md5)
    }
}
