Improve test coverage

Split out the rest of int.scala into appropriate test files.