Modify part of redis-shutdown codes
Add building test-env shell and related files