fixed hasIncrementalKey issue, updated doc, finish test