added test for session widget