index lookup test and integer indexes