add some tests to mongodb and sqlite