Fixed incorrect cases in test/test_indexlog.c

After nearly one year, I have almost forget all about the code: what
should be done / todo

-_-#||