tests: add another test case for GH issue #45.

The test passes completely and cannot be make to segfault in any provided case.

I'll continue investigating...