finished tests for flashcards-user-service.js