Add test for recursive static init.