added tests for the new element index array methods

2 jobs for master in 1 minute and 10 seconds (queued for 1 second)
Status Job ID Name Coverage
  Test
passed #40277
Linux
test-2.7

00:01:10

passed #40276
Linux
test-3.5

00:00:53