use in-memory database for JUnit tests
test has to fill the database first before expecting entries
Merge pull request #448 from davherrmann/issue#424

Issue#424