add timeout and use ruby 2.0
update travis config
fix test