Tightened up tests for link class