setup test and dev environments