Solve test that work in local but not in ci, solve running conditions.