Fixed the test and changed to using rationals!