Increased Unit Test coverage against local operations.

- Fixed some bugs.
- Moving tests out of int.scala to their proper place.
- Made Double versions of the covered operations if they needed it.