hot fixed #5 mock same method twices restore fails bug