[JENKINS-25897] Add tests