https://code.google.com/p/cmockery/wiki/Cmockery_Unit_Testing_Framework
Tests which require a running sshd should go to tests/client.