Sinon stub function in same file