Added test cases for 'for' loops & object variables.