residue test