Do not mix old and new test-annotations libraries.
Corrects 9ce6b0fec3c0a0f1b9ea786865b2130a900a5886.
[JENKINS-19310] Reproduced problem in test.