Added test for overriding local variable scenario in double-bracket conversion