Factor out tests for DynamicAcc2