add spec for flashcard