adding LongRational class and test