Fixed comparison of points in test. Added Travis CI config.