Add self-loop link constructor check
Add test and exception resource string.