Compile tests that use private module vars/functions correctly

This is accomplished by running the compilation with Y2ALLGLOBAL=1.