added a bunch of tests for the AttackResolverSpec and resolved some bugs with it