Fixes search representation related tests.