A medical test performed by a laboratory that typically involves examination of a tissue sample by a pathologist.