Merge pull request #31 from fengjingchao/inst

remove needcmdsinreply and add test for nilstatus preparing handle reply
add check before increment counts and add test for preaccept ok