[JENKINS-21919] Added tests for BuildTimeOutOperation.