Test cases

There is some problem with math rounding.