Implement unittests for the modular pieces that don't depend on external systems (i.e. no ssh end-to-end test)