Tidied up flashcard spec with some variables