[HttpKernel] added a unit test to demonstrate that passing objects works for inline controllers