Link tests

Add tests for link.  Dynamically generated tests for link :)