add mongodb and test file