A web-based flashcard testing framework