Fixed unit tests for wicket.js