Refactored a small test in SessionMonitorTests, to remove small chance of NPE and unused var.
Merge pull request #306 from Unicon/NOJIRA-SES-MON-REFAC

NOJIRA - Refactored a small test in SessionMonitorTests