update ruby and gems
Improve tests