added a test for creating an invalid card