Working on unit tests - added GPIO set logic.