Rework mocking of AppInstallation and GeneratorCli
Assert modules
Run only single test to debug on travis