running tests with 'python setup.py nosetests' in .travis.yml