add unit tests for invalid link aliases