[HttpKernel] fixed typo (closes #6859)
[HttpKernel] added a missing unit test