This test fails for me, apparently due to compiler version dependency. The attached patch makes sure we don't try to access variables that are out of scope. OK? - Volodya