[HttpKernel] fixed tests as addScope() is now called first