e2e test for persisting a new flashcard