test to make sure the previous total is not getting reset