set up testing infrastructure