Added a test for the existence of the target residue.
Authored by: bugman 2007-11-11
Parent: [r3485]
Child: [r3487]