Small fixes + add ability to un/export pins from pin_test