Add MongoDB data access; add MongoDB tests.
Merge changes.
Remove redundant function call.