renamed test for vec
added [] accessor