Fix broken round to Integer. Fixes #230.
Add test case for #230.