test(instance_test.go) add TestHandlePrepareReply to cover handlePrepareReply