         }
     }
     
+    // Nonimal test: A limited timeline in a sync response causes old messages in the MXSyncResponseStore to be deleted
+    // - Alice and Bob are in a room
+    // - Bob stops their app
+    // - Alice send a single message (call it A)
+    // - Bob uses the MXBackgroundSyncService to fetch the event
+    // -> The sync response in the MXSyncResponseStore doesn't have a limited timeline
+    // -> The message (event A) is present in MXSyncResponseStore
+    // - Alice sends a lot of messages (enough for a sync response timeline to be limited)
+    // - Bob uses the MXBackgroundSyncService to fetch the last event
+    // -> The message (last) can be read from MXBackgroundSyncService
+    // -> The old message (event A) is not present in MXSyncResponseStore anymore
+    // -> The first message is not present in MXSyncResponseStore
+    // -> The sync response in the MXSyncResponseStore has a limited timeline
     func testWithPlainEventBeforeLimitedTimeline() {
         let aliceStore = MXMemoryStore()
         let bobStore = MXFileStore()

        
    }
    
    func testWithEncryptedEventRollingKeys() {
        
        let aliceStore = MXFileStore()


private extension MXRoom {
    
    /// Send multiple text messages. If any of sending operations is failed, returns immediately with the error. Otherwise waits for all messages to be sent before calling the completion handler.
    /// - Parameters:
    ///   - messages: Messages to be sent
    ///   - completion: Completion block
    func sendTextMessages(messages: [String], completion: @escaping (MXResponse<[String]>) -> Void) {
        let dispatchGroup = DispatchGroup()
        var eventIDs: [String] = []
