You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: test_array.rb
    path of file: ./repos/ruby-net-ldap/test/ber/core_ext
    
    the code of the file until where you have to start completion: require_relative '../../test_h
    
  def test_control_code_array
    control_codes = []
    control_codes << ['1.2.3'.to_ber, true.to_ber].to_ber_sequence
    control_codes << ['1.7.9'.to_ber, false.to_ber].to_ber_sequence
    control_codes = control_codes.to_ber_sequence
    res = [['1.2.3', true], ['1.7.9', false]].to_ber_control
    assert_equal control_codes, res
  end