math operations were raising exception because they used `to_int1` instead of `to_i`.  Added a couple simple tests.