Made test-compilation-unit local functions static and made global constant values const that for some reason were not.