Update bootstrap code for tests.

Do not use pear substitutions anymore.