getSessionSubject and unit test