This test seems to have assumed a particular timezone.
[FIXED JENKINS-15601] Use Job.getLastUnstableBuild, which is safe for 1.485+.
Also in getLastAbortedBuild, limit the number of builds searched.