fixes and unit tests for Options.rb
fixes and unit tests for Translate.rb