         let settings = AKSequenceSettings(maximumPlayCount: 1,
                                           length: 4,
                                           tempo: 120,
-                                          loopEnabled: false,
+                                          loopEnabled: true,
                                           numberOfLoops: 0)
 
         var events = [AKMIDIEvent]()

        XCTAssertEqual(events.map { $0.offset }, [0, 0, 0, 22050, 22050, 22050])
    }

    func testOverlap() {

        var seq = AKSequence()

        }

        // One second at 120bpm is two beats
        XCTAssertEqual(AKSequencerEngineGetPosition(engine), fmod(2.0 * Double(Int(frameCount) * renderCallCount) / 44100, 4), accuracy: 0.0001)

        AKSequencerEngineDestroy(engine)

