fix unit tests to use fractions