finished tests for translate.rb