fix test env
Merge pull request #1264 from dotcloud/fix_tests_env

fix test env