beginElementAt, endElementAt

Adds a test that uses beginElementAt and endElementAt.