         view.addSubview(progress)
         
         //Convert float to degree angle
-        let percentageAngle = Int(self.testPercentage*360)
+        let percentageAngle = Int(self.testScoreFraction*360)
 
         //Delay the animation by 1 second
         let triggerTime = (Int64(NSEC_PER_SEC) * 1)

    
    func completeData() {
        if let testLogic = testLogicSource {
            
            let cardsResult = testLogic.cardsAnsweredAndPossible()
            
            self.testPercentage = Double(cardsResult.0 / cardsResult.1)
            let percentageString = String(format:"%.2f", testPercentage)
            
            scoreLabel.font = UIFont.sbFont(size: sbFontSizeLarge, bold: true)
            scoreLabel.text = "\(cardsResult.0) / \(cardsResult.1)\n" + percentageString + " %"
            
            switch testLogic.testType {
            case .Learn:

    @IBOutlet weak var runTestButton: UIButton!
    
    var testLogicSource:Test?
    var testScoreFraction:Double = 0.0
    
    override func viewDidLoad() {
        super.viewDidLoad()
