Fixed the environment option in the test console script.