Fix code layout in test console