Add tests for TestSessionRegenFalse

Uses Mockery to mock the PhpParser\Node.

According to PHPUnit, all code paths are tested.