Add test for filtering taxonomy terms on custom domains.

Added test for filtering by terms when using custom domains.
https://github.com/openscholar/openscholar/pull/4788