Add more test cases for stats UDFs

Includes more exec, accumulate, and algebraic tests.

Also now validating the assumption in VAR that the DataBag passed to the Initial algebraic method only has one tuple.