add persistence test and appKernel file