added tests for array/hash elements as lvalues; changed tests to use ShouldMatchers