Added tests and prevent ZeroDivisionError
Merge branch 'master' of github.com:luisramalho/percentage_in_time