adding ability to query DB to validate tests