Tests for searching on composite fields