[testHostResourceQueryOption] Divide tests into two groups.

One group needs the DB's setup. The other doesn't. As a result,
The setup of the latter can be simple and fast.