Backport instal subcommand.
Do not create outut dirs in all tests.
Fix expectations.