adding a state field to cards
creating a test for default state creation