test session persistence