Added a test for stats total