added new test module
fix problems in computing fractions