Working incremental state, with test.