Improve test coverage and fix function binding for adaptor.emit
Fix style issues.
Remove logging.
Remove unused variables
Improve syntax and style in examples.
Improve code climate score and tests.
Merge pull request #1 from hybridgroup/test-coverage

Improve Test coverage and Code Climate score.