Improve `_exec` and its test coverage

Nice!