parametrize some more serialization tests

refs #1564 
Might want to rename the class if it's testing both types of PEM now?