Tweaked GenerateCommandTest in order not to actually call PHP's mkdir and file_put_contents