Improve mapping for more functions.

Add tests based on git's 101 samples.
Merge pull request #1 from fracek/improve-bindings

Improve mapping for more functions.