Update static-variables-test.cpp