Test code for shared libs with static data