Added tests for empty decks and invalid cards