add tests for int conversion