private void CheckBinariesInPageByString(Page page, string expectedBinaryValue, string expectedPSettingsValue)
{
string binaryValue = GetStringFromBinaryData(page.Binary);
string personalizationSettingsValue = GetStringFromBinaryData(page.PersonalizationSettings);
Assert.AreEqual(expectedBinaryValue, binaryValue, "The Binary of the given page doesn't match the expected value.");
Assert.AreEqual(expectedPSettingsValue, personalizationSettingsValue, "The PersonalizationSettings of the given page doesn't match the expected value.");
}