Added unit tests for in-game shadow attacks

Shadow attacks appear to work fine through the GUI after the changes in the 'attack' branch are in place. I have added a couple of unit tests to lock in shadow behaviour in a game context.