Added some rounding and basic tests.