set up testing infrastruture