Passing test of exception of creating line