add automate test with bash-script\; unit and integration\; modify env-setup