Fix autofocus tests.