Added test for CardService