add unit test for sessions, add race test