add test for committed process
finish committed optimization