mongo db test script