(For Bernd) Add more functionality (and tests) to sift-python.

@berndverst