added register resolver and tests