Added rounding to test, to avoid floating point issues