added arrayAccess test for session service