Add tests and update enum value name in ruby client