updated query for integration tests to match reported values
Merge pull request #3 from snowmoonsoftware/dbstats

updated query for integration tests to match reported values