Modified tests to run from `python setup.py test` or `python src/tests/alltests.py`
add travis config