Fix read preference tests.