try to make search controller usable for tests xD