Added test_runtime.py test.

Switch to branch test-runtime and do make test.  Tests pass.