add tests for Array methods

add some tests for [], delete_at, index, and rindex