Port test_python target from Make to Python.
Allow specifying specific test cases to run.
Remove dead code.