Add test script for #57 (segfaults in drupal7)