[#3311][WCM] Use KernelTestCase instead of WebTestCase for testing Command with a container