def METHOD_NAME(self):
    db, db_path = init_database()
    try:
        sum_info = db.GetSummaryInformation(99)
        title = sum_info.GetProperty(msilib.PID_TITLE)
        self.assertEqual(title, b"Installation Database")
        sum_info.SetProperty(msilib.PID_TITLE, "a" * 999)
        title = sum_info.GetProperty(msilib.PID_TITLE)
        self.assertEqual(title, b"a" * 999)
        sum_info.SetProperty(msilib.PID_TITLE, "a" * 1000)
        title = sum_info.GetProperty(msilib.PID_TITLE)
        self.assertEqual(title, b"a" * 1000)
        sum_info.SetProperty(msilib.PID_TITLE, "a" * 1001)
        title = sum_info.GetProperty(msilib.PID_TITLE)
        self.assertEqual(title, b"a" * 1001)
    finally:
        db = None
        sum_info = None
        os.unlink(db_path)