wicketTest: Fix spring context handling