unit test on GET /link