add test for removing URL if it would have been cut off