Added a unit test for large state (>8000 bytes)