Added some tests for creating links