setup dev and test environment