Update tests for session changes. Make string formatting Python 2.6 safe.