         
         XCTAssertNotNil(deckById,"Receiving added deck by id, must not be nil")
         
-        let newDeck = Deck(id: "xxxzzz", name: "new some name")
+        let newDeck = Deck(serverID: "xxxzzz", name: "new some name")
         
-        let newDeckById = manager.deck(withId: newDeck.id)
+        let newDeckById = manager.deck(withId: newDeck.serverID)
         
         XCTAssertNil(newDeckById, "Manager does not contain newDeck so it must not be able to find it by id")
         

        let flashcards = try! dummyManager.flashcards(forDeck: deck)
        XCTAssert(Bool(flashcards.count),"Dummy manager must contain at least one flashcard")
        
        let newDeck = Deck(id: "x", name: deck.name)
        
        let newFlashcards = try? dummyManager.flashcards(forDeck: newDeck)
        

        
        let _ = try? manager.removeDeck(deck)
        
        let found = manager.deck(withId: deck.serverID)
        
        XCTAssertNil(found, "The Deck has been deleted, so it has to be nil")
        
