Added Command test using network, updated some methods signature to mock message sending, see wiki in redmine for more details