new_contents: import os, sys; sys.path.insert(0, os.path.dirname(os.path.dirname(__file__)))
  
  import fnmatch
  
  import numpy as np
  import pytest
  
  from lasio import read, las
  
  test_dir = os.path.dirname(__file__)
  
  egfn = lambda fn: os.path.join(os.path.dirname(__file__), "examples", fn)
  stegfn = lambda vers, fn: os.path.join(
      os.path.dirname(__file__), "examples", vers, fn)
  
  def test_add_curve_duplicate():
      l = las.LASFile()
      a = np.array([1, 2, 3, 4])
      b1 = np.array([5, 9, 1, 4])
      b2 = np.array([1, 2, 3, 2])
      l.add_curve('DEPT', a)
      l.add_curve('B', b1, descr='b1')
      l.add_curve('B', b2, descr='b2')
      # assert l.keys == ['DEPT', 'B', 'B']
      assert [c.descr for c in l.curves] == ['', 'b1', 'b2']
subject: Add test for #144