After switching from 6.18.0 to 6.19.0 I see the following in junit tests:
seems that something was broken.
To reproduce you can use my wicket library:
Just switch wicket.version in main pom.xml from 6.18 to 6.19
I didn't test that on real working application: so it might be something with wicket-tester.