Test for heavy metal contamination