Update unit tests after latest changes
Adding validation for addNode
Adding fast option to avoid checking deps for unit tests