Updated ConsoleCommunicator class to implement updated interface.
Updated ConsoleCommunicatorTest class to test newly implemented
functionality.