setup testing env