Added test for decrypting with both primary and secondary keys