Wrote tests for Card constructor