Add tests for new vscan and vmapAccum functions