Add basic unit tests
query parser fixes. Fixes #1
Merge pull request #2 from StevenDevooght/add_unit_tests

Add basic unit tests