add travis build image, fix tests