Adding unittest.skipIf and environment flags for making it easier to
test