Check that we are running tests in the right environment