update test class
implement basic logic for session and descriptor