working on unit tests for Deploy plugins + misc