Update for latest git/pip, add tests and expand README.