Fixing the BDB test
Finish up the stats tutorial