[S32-num] add tests for Rat.perl

Specifically test to make sure .perl returns a decimal answer if the
denominator consists solely of the factors 2, 5, and/or -1.