A fix for tests.