didel/session tests added

This only covers ~77% of the file for now.