Updating hostname tests and adding to functional tests

Change-Id: I28b01ab0bc84183c9e5dcc89cccacecd31024c97
Updating tests and configurations

Change-Id: I454eac7d8866d7d6195c7afc2c1b82459cd4b81a