Fix the manager tests