Update User-Agent string to include Ruby version in use
Update version test to be more robust