Create PyUtilTestCase base class and prefer it in the tests