Biopsy and pathology
The best way to determine if a tumor is malignant is a biopsy
or sample, and looking at it under a microscope.
A pathologist is the person trained to do this. While there are other types of tests, the best is looking through a microscope and examining the cells.