* test: Write unit tests for CliRunner * test: fix Loader mock and add new mock and test * test: Put function definition in beforeEach * test: Add comments to code * refactor: Move outsideResolve to setup call