add tests, make sure the binding actually works
Merge pull request #1 from fivetanley/fix-bugs

add tests, make sure the binding actually works