Merge pull request #143 from akkie/master

Use Scala api
Merge pull request #144 from akkie/master

Add missing tests
Implicit application was not in scope