Skip tests properly under unittest.
Merge pull request #174 from enthought/fix-unittest-breakage

Skip tests properly under unittest.