Mock mongoose in the tests