Cleaner code in DummySession Test