Add tests to ensure that drupal-entity tag is correctly replaced