Add pack index test.