setup testing environment