fix test in set up preparing instance
add handlePrepareReply
small modify
finish handle prepare reply
Merge pull request #28 from fengjingchao/inst

Inst