Added str(Fraction) checks and unit tests