resolver factory and test