add tests for computed properties with object indices

R=arv
BUG=

Review URL: https://codereview.appspot.com/112860043