add lots of test helpers + tests for the database reader, as well as some changes to the db reader
Merge pull request #35 from bayendor/tests

add lots of test helpers + tests for the database reader, as well as som...