Testing addition/deletion of lines