Update tests to permit setting of hostname with `hostnamectl`