Added test for Python console.

Added test (and mechanism to test) for Python console This test currently tests
that Python console continues to work after disconnects.

Change-Id: Ie88690cb6de75d9832375975bb4276cf5b9861b5
Merge topic 'refactor_python_interpretor' into next

ed2f7c0 Added test for Python console.