test replacement of button for link