Use new method for python install, add tests.