fixed some session related test failures