Added new test using the \G assertion

I'm providing a new test which may lead to improved memory consumption.

I didn't test any of this, hopefully I made no mistakes here... If you could run these by yourself, it would be perfect. I'll do it myself later on if required.

Thanks :)