i'm not sure if this actually guarantees that the accumulator version is called.

it would be good to implement at least one test of each for 1) accumulator, and 2) algebraic, where the methods are explicitly invoked instead of using the pig script test.  this ensures that both versions work.