modify GameDispatcher and add the test code