test and translate scripts updated so that they correct the DEBUG switch in place. specialize.memo turned off since it no longer compiles - FIXME: find out why specialize does not work and turn it back on again