test code for generating a link with presale info