Move class string constants from XHandler to XHandlerTest.