fix testing AppKernel