Add test for getting message for link.