Use datetime type in Session resultset.
Add simple test for Session resultset.