add tests for long log-lines and trailing lines Upstream-commit: 9f7cc7d0320b93236169a7e0f6f9d69fa8c91bb8 Component: engine