I am using sinon for unit testing a nodejs project. I want to write unit tests for the code below and check the arguments passed to the callback function based on the result