Added usersession tests.