more tests for links
now tests are more of unit
pushed tests closer to protocol, now they are almost through