Improving test and fixing issue #20 (again)

It seems there is still a bug in that the lines which have only three dots are still not included in the diagnostics.