TST: genmod test_link, change precision to allclose
STY/TST: families test_link, convert tests to test_function
Merge pull request #1404 from josef-pkt/TST_fix_genmod_link_tests

TST fix genmod link tests