rounded out unit tests for session cmdlets