     
     func testIncorrectAnswerWithMoreThanOneFlashcardInTestMode() {
         // prepare
-        let mockData = MockData(amount: flashcardsNumber)
-        let testLogic = Test(deck: mockData.flashcardArray, testType: .Test(uint(flashcardsNumber)))
+        let mockData = flashcardsArray(amount: flashcardsNumber)
+        let testLogic = Test(deck: mockData, testType: .Test(uint(flashcardsNumber)))
         
         // do
         var result: Flashcard?

    
    func testIncorrectAnswerWithOneFlashcardInTestMode() {
        // prepare
        let flashcard = Flashcard(serverID: "serverID", deckId: "deckID", question: "question", answer: "answer", tip: Tip.Text(text: "Tip"))
        let testLogic = Test(deck: [flashcard], testType: .Test(1))
        
        // do

        XCTAssertTrue(result, "Initialized with empty Flashcard array, passedDeckWasEmpty should be true")
    }
    
    func testCheckIfPassedDeckIsEmptyWithMoreThanOneFlashcard() {
        // prepare
        let mockData = flashcardsArray(amount: flashcardsNumber)
        let testLogic = Test(deck: mockData, testType: .Learn)
        
        // do
        let result = testLogic.checkIfPassedDeckIsEmpty()
