add UT for creating session