set up core testing envrionment