Add test for NewSession