Improve `_exec` and its test coverage

Some more link tests.