add optional header to test_static_link
standardize global initializers syntax
merge global initializers