test updated for session