Added more test plus new tests for input of a fraction.
Added functionality to process input of single fractions.