[#81752040] Added test for encrypted history issue.