Raise an error if test.env is not present when running tests.