Added tests for new stat methods.