Add tests for Deck model.