missing mkdir added in tests
ExtractMethod judging in Referee to reduce ObscureCode