added minimal code to get the session tests passing