Queries appear to be working, start of tests on them although something
like dbunit would make sense to add