 
     func testPastAutomationTwo() {
 
-        let automationPoints = [ AKAutomationEvent(targetValue: 880, startTime: 0, rampDuration: 0.1),
+        let events = [ AKAutomationEvent(targetValue: 880, startTime: 0, rampDuration: 0.1),
                                  AKAutomationEvent(targetValue: 440, startTime: 0.1, rampDuration: 0.1) ]
 
-        let (addresses, values, _) = observerTest(automation: automationPoints, sampleTime: 44100)
+        let (addresses, values, _) = observerTest(events: events, sampleTime: 44100)
 
         // If the automation is in the past, the value should be set to the final value.
         XCTAssertEqual(addresses, [42])


    func testSimpleAutomation() throws {

        let automationPoints = [ AKAutomationEvent(targetValue: 880, startTime: 0, rampDuration: 1.0) ]

        let (addresses, values, _) = observerTest(automation: automationPoints, sampleTime: 0)

        // order is: taper, skew, offset, value
        XCTAssertEqual(addresses, [42])

            durations.append(rampDuration)
        }

        let observer: AURenderObserver = events.withUnsafeBufferPointer { automationPtr in
            AKParameterAutomationGetRenderObserver(address,
                                                   scheduleParameterBlock,
                                                   44100,
                                                   startTime, // start time
                                                   automationPtr.baseAddress!,
                                                   events.count)
        }

        var timeStamp = AudioTimeStamp()
