Added option to set/unset GPIO/US pins in Self-Test.