Adding persistence of PlayerCharacter, and testing thereof.