Error cleanly if TEST_HOST is unset for app tests

Fixes #118