Test of the Drupal JS module for a simple API