setup test enviroment