Add peer tests. Remove debug log statements.
Remove MongoDB ptree.