Added testsettings.py for travis test
Modified travis file