fixed broken test on linux: /etc/hosts -> /private/etc/hosts