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.
Merge pull request #390 from lossyrob/test/coverage-increase

Increased Unit Test coverage against local operations.