Added unit tests for the null checks in each GetLink method