Add a common class to test session backend