added store proc for creation stat views
fixed percents calculation
do not drop db before running tests