Added the card name and description to card

Expanded test cases and also added some functionality.