add travis file and test scripts