fix error message

@judofyr it checks for tests before the given line, right ?