add IChainStateCursor.CommitTransaction test, fix bug in memory chain state storage