Add predefined linkage functions
Merge pull request #4 from finnp/linkage

Add predefined linkage functions
fix tests / coverage