set up mocks, assert calls with parameters
refactored NodeParser to use a dictionary for the four mathematical operations to return lambdas. Also, these lambdas are shared between operator nodes, so there is only one lambda operation for each mathematical operation at each time