fixed wrong line deletions in test