Added test for invalid card type