Fix delivery editor

- When select a client in delivery. Address field should be changed according to selected client.
This procedure was correct, but the commit 'Ica7c1aba55804fe7ae541b6c86cf759ce0daa0eb'
broke that functionality.
- Add tests

Change-Id: Id3677c744d3c93fd6deebf35a3c9acdaef063504