correcting tests by defining host in spec helper