Added a test for indexers ([] operators).

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>