Updated DB and unit test helpers. DB now has complex selects and you can now have more than one assert in a unit test.