Add encrypted sync test case.