Merge pull request #2 from AlexandreBeaulne/master

Unit tests
complete test coverage
Transition to Python 3 - (integer division issue)