tests: excise unittest2 dependency

Given that pytest is already pretty much here to stay without
significant work, write these tests to use pytest's functionality to
be able to avoid unittest/unittest2.

Unfortunately this seems to require a change of behavior in how the
cause of the skip will be reported.

Signed-off-by: Daniel Farina <daniel@heroku.com>