Fixing manager tests