refactored and added a couple tests

refactored to allow for passing of spot rather than deck, and added
support for sending a card to an empty resolution pile.