Testing mongodb