Fix workflow test base class import: works only in test.