test: add tests for Drupal 7 and non-Drupal systems