add test on test.py to travis