some more test environment bootstrap hacks.