Integration cli tests on Links in inspect

Here tests for #6683
:+1: