test custom query terms