Minor refactoring
Add tests for the UINotifier and refactor the ConsoleUI tests