modified tests to support pull returing a dictionary