 
     func testNewAutomationFrequency() {
         input = AKOscillator(waveform: AKTable(.square), frequency: 400, amplitude: 0.5)
-        input.$frequency.automate(events: [AKAutomationEvent(targetValue: 880,
-                                                             startTime: 0,
-                                                             rampDuration: self.duration)])
         output = input
+
+        afterStart = {
+            self.input.$frequency.automate(events: [AKAutomationEvent(targetValue: 880,
+                                                                 startTime: 0,
+                                                                 rampDuration: self.duration)])
+        }
 
         // auditionTest()
 


    func testNewAutomationMultiple() {
        input = AKOscillator(waveform: AKTable(.square), frequency: 400, amplitude: 0.0)
        input.$frequency.automate(events: [AKAutomationEvent(targetValue: 880,
                                                             startTime: 0,
                                                             rampDuration: self.duration)])
        input.$amplitude.automate(events: [AKAutomationEvent(targetValue: 1.0,
                                                             startTime: 0,
                                                             rampDuration: self.duration)])
        output = input

        // auditionTest()



    func testNewAutomationAmplitude() {
        input = AKOscillator(waveform: AKTable(.square), frequency: 400, amplitude: 0.0)

        output = input

        afterStart = {
            self.input.$amplitude.automate(events: [AKAutomationEvent(targetValue: 1.0,
                                                                      startTime: 0,
                                                                      rampDuration: self.duration)])
        }

        // auditionTest()

