test uses documet/get method now to read document