Added virtualenv option and tests
flake8 is a cruel mistress