set up for api vhosts test methods