Fix static_initializer unit test