Plus, these things are illegal which means that most of the time you are not getting the real but instead pharmacologically similar substances that might have secondary effects. This is way you can't reliably imply a correlation because it is a black market and often what you think you consumed is not what you actually consumed.
Unless you actually tested what your friends consumed, you don't know what it was.
That's a tautology. But what you meant is not true. Some of the compounds are chosen because they are chemically similar and have psilocybin like effects. Even if you were to test this with a standard kit it would be classified as psilocybin. Your average consumer would be none the wiser. The reason these compounds exist is literally because of that very reason. They were made in the context of slow moving policies targeting psychedelics by listing specific compounds.
You can grow mushrooms from spores and quality control the whole process.