AB test generator library