make session ctor backward compatible, add deprecation warning for delete flag
fix messed-up unit tests
Merge branch 'devel'