test session with static class