- added tests for comparison
- better code and tests from double to fraction