Test coverage improvment
Pep8 fixes
Missing tests for interval and seconds_since_midnight.
Testing edge values for time functions
Merge pull request #2 from romankierzkowski/bug_1761

Bug 1761