tests and mongo