The root cause of a failing SessionTest::testSize() method was that the Session::processCycles() method was failing to place any elements in the queue for processing, which meant that all calls to this method results in Session instances with 0 cycles. Queue is now fed at the beginning of the processCycles() method.