Test for searching by tag.