Added runtests script.
Updated setup.py.
Flake8 fixes.