[JENKINS-17830] Adding test