Test: session timeout unit tests