[2.2][HttpKernel] Fixed failing tests for FragmentHandlerTest