Add also "modify shared library variable" testcase.