Change persist() to save() and make public, make sessionVar private, and remove unnecessary session header handling and exception trapping in tests