Remove duplicate test file.
Fix off-by-one error in selecting residues from Domains.

The last residue in a Domain's residue range should not
count as being part of the Domain.