Add fromIndex tests