moved some of the simple testing logic to the flashcard class.