unit tests for jenkins-24333