mend

fixed cta_url string parsing and added extra testing