 
     func testSimpleAutomation() throws {
 
-        let automationPoints = [ AKAutomationEvent(targetValue: 880, startTime: 0, rampDuration: 1.0) ]
-
-        let (addresses, values, _) = observerTest(automation: automationPoints, sampleTime: 0)
+        let events = [ AKAutomationEvent(targetValue: 880, startTime: 0, rampDuration: 1.0) ]
+
+        let (addresses, values, _) = observerTest(events: events, sampleTime: 0)
 
         // order is: taper, skew, offset, value
         XCTAssertEqual(addresses, [42])


        let events = [AKAutomationEvent(targetValue: 1, startTime: 0, rampDuration: 1.0)]

        let (addresses, values, durations) = observerTest(automation: events, sampleTime: 128)

        XCTAssertEqual(addresses, [42])
        XCTAssertEqual(values, [1.0])


    func testPastAutomation() {

        let events = [ AKAutomationEvent(targetValue: 880, startTime: 0, rampDuration: 0.1) ]

        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])
