Improve resolver factory tests.