python: Port more tests.