[JENKINS-11655] Added tests for the upstream selecting feature of TriggeredBuildSelector. Though existing tests of TriggeredBuildSelector are in CopyArtifactTest, I created a new test class as adding tests are so complicated and large.