test for Deck
Redesigned Deck's constructor