add TEST env var during tests and silenced parserun during tests
use init function
remove message during tests
Merge pull request #1591 from dotcloud/1557_fix_docker_run_useage

add TEST env var during tests and silenced parserun during tests