Is there an assertion to check whether a function calls another function? I'm currently stuck with it in chai.js.