change testIndex fn to use strings.
add index,thumbnail and title fn that accepts strings.