fix dispatchtest.java