Hi and welcome, good advice above on seeking further testing.
One thing I will say about the Metformin - you have stopped it because you had gut problems, yes? After being put on the 'full dose'. Well, most health care professional have the gumption to tell people to start gently. One tablet for a week or two, let the body adjust to that, then add a second tablet, more adjustment, and so on. It can take weeks to work up to the 'the full dose' whatever that is.
So while none of us should be taking a medication that ties us to the bathroom, it can be worth going through a bit of mild gut adjustment in order to see the benefits of Metformin. As a drug, you will find it gets a mixed press. Some people can never tolerate it. Some take to it like a duck to water. And others simply need to work up to it gently. The benefits, if you can tolerate it (most people can) is that is lowers blood glucose readings a little, lowers insulin resistance somewhat, and may (this is still being researched) have long term benefits to hearth health and longevity.