Fixed null pointer exceptions when dead links encountered.
Addomg test cases to cover null scenarios when calling addingLink().
Merge pull request #129 from mtemenos/0.5.2.1

Fixed null pointer exceptions when dead links encountered.