Lin opted not to compete in the world championships last year after governing body World Boxing announced that women boxers would have to undergo mandatory sex testing.