Added test to trigger a segmentation fault because of a missing NULL pointer check (ref #12).