Added index test cases for scalar/row expressions