fix index test for travis