API for Fraction class using JUnit test