Adding unit tests for the new custom path to hostsfile node attribute