Enforce correct content api host when running tests.

Every now and again someone forgets about using the correct content api host.

Now tests will die on you with a suitable error message.