improved pylint/pep8 compliance
separated tests for break statements
updated travis setup, so that nosetests are run correctly