Fixes some tests.