Bugfix in RsSatAtContact: use min(), not max().

Also modified test to match output.