make test a bit more rigorous by checking line counts