Test file for class rational.