Issue #112 - Added mode reporting functions to the Stats object prototype, and appropriate tests