[#16] correct index test