added tests for non-existence of add link