Issue #372: separate cleaning from test execution.