mongodb setting & test.