Both additives are theoretically identified by the official tests shown in this slide. It can be seen that bot are galactomannans, i.e., polymers of galactose and mannose, with guar gum being more soluble in cold water than LBG.
Microscopic examination requires further explanation, since it can be used for differentiation. This is shown in more detail in the next slides.