Added serializing tests to LogPriorityTest.