Added ui.console tests.
Tests update.
Added flake8 make targets.