Preparing testing enviroment.