While a strict gluten-free diet can help manage the symptoms of coeliac disease, it is not a cure. The damage to the intestines will continue if gluten is consumed. So if you have an endoscopy and your villi look healthy it's not because you're not coeliac. It simply means you're intestines have healed thanks to your gluten-free diet.