set test enviroment.