[refactor] New methods extracted from receiveAndMapSlaveAddress; new tests added; stepdown rule applied on code