set up a link gen test