Added some tests for getting statistics out of app assure 4 database.