cli: Automatically discover tests.