Added tests to command factory test.
Merge branch 'communication' of https://github.com/genomizer/genomizer-server.git into communication