Added test for fraction conversion.