Adding cursor wrapper unit test for Session and Event