make test for mcpi_pin, fix formatting in a few places.