Add test cases for expected behavior

Add test cases for when the denominator is 0, and cases where denominator is less than numerator.