adds preliminary test for indexObject. Behavior already supported.