Got the commit index stuff to pass a basic test.