Add Unit test mode which enables late DID UPD from gateway to master. Trim trailing spaces