Readded logger, testing utils and the testingmode parameter