session management ng tests