avoid an exception in the /db test where the ?queries= arg is missing.
generate the right json in both database tests.
renamed mongo collection and key name.
Merge pull request #602 from bckfnn/fixvertx

Fix vertx database tests.

Looks good!