Test the quality of (a metal) (5)
I believe the answer is:
assay
(Other definitions for assay that I've seen before include "Test metal for quality" , "Test(ing) of a substance, such as precious metal" , "Test ore for value" , "Test quality of metals" , "Test ore for content" .)