support running tests with "python setup.py test" and configure travis