[HttpKernel] fixed a volatile test