update fraction class
added fraction tests