fixed tests so they run locally