add travis file for builds
fix tests