Added tests for fractions.