Reformat and fix util's toString and shell specs.