implementing test enviroment