Fixing coveralls support
Changes made to improve test coverage to 97-98%
Fix failing test, fix coverage in travis
Merge pull request #16 from blink1073/dev

Improved coverage to 97-98% while preserving API.