Adds tests for cards and decks
Fixes tests