- added sum
- added unit tests for sum