Helper library to test session-switching with and without VTs