Fixed all Tests for Linkd

The code is now refactored
still another improvement is
to use the BFT to get the
topology of the backbone links