new testcase for static ctor list optimizations