Refactor timeline events list tests See merge request gitlab-org/gitlab!95046
mentioned in commit f501095c