Add a missing test to the test suite
Promote array indices to int