Replaced run_tests.py with something more sensible.
Added pre-commit hook.