Use Model#ransack instead of Model#search in tests