Added test for reporting programming error. Upon closer review of the flow chart, the device must be reset for all errors
Added device reset for all errors