     
     func testSkipCardWithMoreThanOneFlashcard() {
         // prepare
-        let mockData = MockData(amount: flashcardsNumber)
-        let testLogic = Test(deck: mockData.flashcardArray, testType: .Learn)
+        let mockData = flashcardsArray(amount: flashcardsNumber)
+        let testLogic = Test(deck: mockData, testType: .Learn)
         
         // do
         let result = testLogic.skipCard()

        XCTAssertNotNil(result, "More than one flashcard in deck, skipCard should return not nil object")
    }
    
    class MockData {
        var flashcardArray = [Flashcard]()
        static let notOneNumber = 10
        
        init(amount: Int, hidden: Int = 0) {
            var hiddenNumber = (hidden > amount) ? amount : hidden;
            
            for _ in 1...amount {
                let current = Flashcard(serverID: "serverID", deckId: "deckID", question: "question", answer: "answer", tip: Tip.Text(text: "Tip"))
                
                if hiddenNumber > 0 {
                    current.hidden = true
                    hiddenNumber = hiddenNumber - 1
                }
                
                flashcardArray.append(current)
            }
        }
    }
    
}

    
    func testSkipCardWithOneFlashcard() {
        // prepare
        let testLogic = Test(deck: [flashcard], testType: .Learn)
        
        // do
