Added tests; fixed rounding