Adding db initalization procedures
Minor testsuite fixes
Fixed collection searching by _id
Added testsuite for search by _id