(refactor) ab_test: Move addImageAndReroute function from controller to service