pep8
added pre-commit and pre-push hooks; update travis config; added test runner
test fix