split events
code style fixes
added Mock
added the installer test