fix tests after mongo refactoring