Update ruby version, fix tests