Added a unit test for the new LinkDBListener behaviour.