Persist hosts throughout tests

The spec helper initializes hosts before the test suite is begun. The
hosts array is assigned to an RSpec setting to persist access across
testing.