Test the Target and TargetArray classes.