Refactor test for adding an invalid card to refer to deck defined in let statement