implemented 'r' suffix that expresses rational number
tester for rational