Issue #87. Complete incomplete tests.
Basics of QueryParser.
Changes in db package.