Improved certain query functionality
Added DB read tests
0.1.2