This is complicated slightly by a need to keep the tests fast, so we introduce an environment variable that can override the constant