Better approximation of test case line number