Mock mongodb server