You can just use sinon.stub to verify the function is called instead of having another mock_activity_handler