Removed the '#' from the definitions link template, added testing. 

The templates previously provided the anchor character '#'. This is now removed since we generate it instead. Also, we didn't have any testing around the definitions layer, so added that.