globalarray instead of globalvar

Tests fail, because naked arrays were incorrectly marked as globalarray.