Created tests for managing flashcards and deletion of flashcards when a deck is deleted