Implemented CardType enum and tests for issue #10