Fix tests
Fix test
Add wait for page to load when copying session
Fix test