add test describing skip behavior

For completeness, this test guarantees that if skip is called in
a "before" hook, that the actual action will be skipped as well.