update with travis config and better test